net/http.wantConn.key (field)
13 uses
net/http (current package)
transport.go#L1122: if list, ok := t.idleConn[w.key]; ok {
transport.go#L1162: t.idleConn[w.key] = list
transport.go#L1164: delete(t.idleConn, w.key)
transport.go#L1175: q := t.idleConnWait[w.key]
transport.go#L1178: t.idleConnWait[w.key] = q
transport.go#L1250: key connectMethodKey // cm.key()
transport.go#L1449: key: cm.key(),
transport.go#L1521: if n := t.connsPerHost[w.key]; n < t.MaxConnsPerHost {
transport.go#L1525: t.connsPerHost[w.key] = n + 1
transport.go#L1533: q := t.connsPerHostWait[w.key]
transport.go#L1536: t.connsPerHostWait[w.key] = q
transport.go#L1559: t.decConnsPerHost(w.key)
transport.go#L1572: t.decConnsPerHost(w.key)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |